﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using UniversityManagementSystem.DAL;
using UniversityManagementSystem.Gateway;

namespace UniversityManagementSystem.Manager
{
    public class BuildingManager
    {
        BuildingGateway gateway = new BuildingGateway();
        public List<Building> GetAllBuildings()
        {
            return gateway.GetAllBuildings();
        }

        public List<Building> GetAllRooms(string buildingId)
        {
            return gateway.GetAllRooms(buildingId);
        }
    }
}